<ion-header>
  <ion-navbar>
    <ion-title>实名认证</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <form [formGroup]="form" novalidate>
    <div class="margin-block"></div>
    <ion-input class="g-input" text-center placeholder="请输入姓名" type="text" formControlName="realName"></ion-input>
    <div class="margin-block"></div>
    <ion-input class="g-input" text-center placeholder="请输入身份证号" type="text" formControlName="idNumber"></ion-input>
    <button ion-button class="g-button primary" full g-margin (click)="submit()">确认</button>
  </form>
</ion-content>
